chore(deps): update dependency daisyui to v5 #363
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.10.1
->^5.0.0
Release Notes
saadeghi/daisyui (daisyui)
v5.3.8
Compare Source
Bug Fixes
v5.3.7
Compare Source
Bug Fixes
btn
inprose
shouldn't have underline by default. closes: #4192 (1205a90)v5.3.6
Compare Source
Bug Fixes
v5.3.5
Compare Source
Bug Fixes
btn-disabled
color. closes: #4191 (bf956c8)v5.3.4
Compare Source
Bug Fixes
validator-hint
overrideshidden
class as expected. close: #4188 (c05604d)v5.3.3
Compare Source
Bug Fixes
v5.3.2
Compare Source
Bug Fixes
v5.3.1
Compare Source
Bug Fixes
v5.3.0
Compare Source
Features
Bug Fixes
fix: card modifier classes can be used with Tailwind variants now, closes: #3589
fix: btn-disabled can be used with Tailwind variants now, closes: #3622
v5.2.5
Compare Source
Bug Fixes
v5.2.4
Compare Source
v5.2.3
Compare Source
Bug Fixes
v5.2.2
Compare Source
Bug Fixes
v5.2.1
Compare Source
Bug Fixes
v5.2.0
Compare Source
Features
is-drawer-open
andis-drawer-close
to style elements based on drawer state. Allowing us to create icon-only drawer sidebar.is-drawer-open
andis-drawer-close
(32e919e)Bug Fixes
collapse
utility class conflict (c39d839)v5.1.32
Compare Source
v5.1.31
Compare Source
Bug Fixes
v5.1.30
Compare Source
Bug Fixes
v5.1.29
Compare Source
Bug Fixes
v5.1.28
Compare Source
Bug Fixes
v5.1.27
Compare Source
Bug Fixes
v5.1.26
Compare Source
Bug Fixes
v5.1.25
Compare Source
Bug Fixes
v5.1.24
Compare Source
Bug Fixes
v5.1.23
Compare Source
Bug Fixes
<details>
collapse animation. closes: #4128 (f2a453a)v5.1.22
Compare Source
Bug Fixes
kbd
insideprose
(233c58a)v5.1.21
Compare Source
Bug Fixes
v5.1.20
Compare Source
Bug Fixes
v5.1.19
Compare Source
Bug Fixes
v5.1.18
Compare Source
Bug Fixes
v5.1.17
Compare Source
Bug Fixes
v5.1.16
Compare Source
Bug Fixes
v5.1.15
Compare Source
Bug Fixes
v5.1.14
Compare Source
Bug Fixes
v5.1.13
Compare Source
v5.1.12
Compare Source
Bug Fixes
v5.1.11
Compare Source
Bug Fixes
v5.1.10
Compare Source
Bug Fixes
v5.1.9
Compare Source
Bug Fixes
v5.1.8
Compare Source
v5.1.7
Compare Source
Bug Fixes
v5.1.6
Compare Source
Bug Fixes
v5.1.5
Compare Source
Bug Fixes
v5.1.4
Compare Source
Bug Fixes
v5.1.3
Compare Source
v5.1.2
Compare Source
Bug Fixes
v5.1.1
Compare Source
Bug Fixes
v5.1.0
Compare Source
Features
<select>
element (works in Chromium, other browsers use the old OS style)Bug Fixes
aria-current
for tabv5.0.55
Compare Source
v5.0.54
Compare Source
Bug Fixes
v5.0.53
Compare Source
Bug Fixes
v5.0.52
Compare Source
Bug Fixes
v5.0.51
Compare Source
Bug Fixes
v5.0.50
Compare Source
Bug Fixes
v5.0.49
Compare Source
Bug Fixes
v5.0.48
Compare Source
Bug Fixes
v5.0.47
Compare Source
Bug Fixes
v5.0.46
Compare Source
v5.0.43
Compare Source
Bug Fixes
v5.0.42
Compare Source
Bug Fixes
v5.0.41
Compare Source
v5.0.40
Compare Source
Bug Fixes
v5.0.39
Compare Source
Bug Fixes
v5.0.38
Compare Source
Bug Fixes
v5.0.37
Compare Source
Bug Fixes
v5.0.36
Compare Source
Bug Fixes
v5.0.35
Compare Source
Bug Fixes
v5.0.34
Compare Source
Bug Fixes
user-valid:
variant. closes: #3668, #3669 (8ffbebb)v5.0.33
Compare Source
Bug Fixes
v5.0.32
Compare Source
Bug Fixes
v5.0.31
Compare Source
Bug Fixes
v5.0.30
Compare Source
Bug Fixes
v5.0.29
Compare Source
Bug Fixes
v5.0.28
Compare Source
v5.0.27
Compare Source
Bug Fixes
v5.0.26
Compare Source
Bug Fixes
v5.0.25
Compare Source
Bug Fixes
v5.0.24
Compare Source
Bug Fixes
v5.0.23
Compare Source
Bug Fixes
v5.0.22
Compare Source
Bug Fixes
v5.0.21
Compare Source
Bug Fixes
v5.0.20
Compare Source
Bug Fixes
v5.0.19
Compare Source
Bug Fixes
v5.0.18
Compare Source
Bug Fixes
aria-invalid
(f4688a3)v5.0.17
Compare Source
Bug Fixes
v5.0.16
Compare Source
Bug Fixes
v5.0.15
Compare Source
Bug Fixes
v5.0.14
Compare Source
Bug Fixes
&:before
. closes: #3758, closes: #3755v5.0.13
Compare Source
Bug Fixes
v5.0.12
Compare Source
Bug Fixes
v5.0.11
Compare Source
Bug Fixes
v5.0.10
Compare Source
Bug Fixes
:not(:has())
selectors getting prefix. closes: #3739 (771b6eb)v5.0.9
Compare Source
Bug Fixes
v5.0.8
Compare Source
Bug Fixes
v5.0.7
Compare Source
v5.0.6
Compare Source
Bug Fixes
v5.0.5
Compare Source
v5.0.4
Compare Source
Bug Fixes
v5.0.3
Compare Source
Bug Fixes
v5.0.2
Compare Source
Bug Fixes
v5.0.1
Compare Source
Bug Fixes
v5.0.0
Compare Source
Alert
🆕 Additions
alert-outline
,alert-dash
, andalert-soft
variants.alert-vertical
andalert-horizontal
layout options.🔧 Changes
max-sm:alert-horizontal
or any other responsive breakpoint.Artboard
🗑️ Removals
artboard
andphone-*
classes. These classes were simply setting the width and height of the div. Use Tailwind CSSw-*
andh-*
classes instead.artboard phone-1
w-[320px] h-[568px]
artboard phone-2
w-[375px] h-[667px]
artboard phone-3
w-[414px] h-[736px]
artboard phone-4
w-[375px] h-[812px]
artboard phone-5
w-[414px] h-[896px]
artboard phone-6
w-[320px] h-[1024px]
artboard artboard-horizontal phone-1
w-[568px] h-[320px]
artboard artboard-horizontal phone-2
w-[667px] h-[375px]
artboard artboard-horizontal phone-3
w-[736px] h-[414px]
artboard artboard-horizontal phone-4
w-[812px] h-[375px]
artboard artboard-horizontal phone-5
w-[896px] h-[414px]
artboard artboard-horizontal phone-6
w-[1024px] h-[320px]
To be clear,
mockup-phone
is not removed. It just doesn't need theartboard
class anymore.Avatar
🔧 Changes
online
class toavatar-online
,offline
toavatar-offline
, andplaceholder
toavatar-placeholder
.Badge
🆕 Additions
badge-dash
, andbadge-soft
styles.badge-xl
size.gap-2
between content of badge so you don't have to add it manually to put a space between the text and icon.🔧 Changes
Breadcrumbs
🆕 Additions
gap-2
for the element inside list item so you don't have to add it manually to put a space between the text and icon.Bottom Navigation
🗑️ Removals
bottom-nav
component. Usedock
component instead.btm-nav-xs
,btm-nav-sm
,btm-nav-md
,btm-nav-lg
. Usedock-xs
,dock-sm
,dock-md
,dock-lg
instead.btm-nav-active
. Usedock-active
instead.disabled
class ofbottom-nav
. Usearia-disabled="true"
attribute ordisabled
attribute if it's a button. This is for better accessibility.Button
🆕 Additions
btn-xl
size.btn-dash
andbtn-soft
styles.--depth
effect is enabled.🔧 Changes
--size-field
.checked:btn-secondary
btn-ghost
hover style is changed. In v4btn-ghost
had a specific hover style overriding any color modification. For example inbtn btn-ghost btn-primary
the button would'nt look primary. In v5btn-ghost
now looks as a ghost only before hover. It shows the original color on hover.Card
🆕 Additions
card-border
andcard-dash
styles which adapts the border width from the theme.card-xs
,card-sm
,card-md
,card-lg
,card-xl
).<label class="card">
to be used as a radio card. If a checkbox or radio is directly inside a card, clicking the card will toggle the checkbox/radio and will show an outline around the card.🔧 Changes
card-bordered
is renamed tocard-border
.🗑️ Removals
card-compact
. Usecard-sm
instead.Chat
🆕 Additions
chat-bubble-neutral
color.🔧 Changes
neutral
tobase-300
. Addchat-bubble-neutral
if you want to keep using the neutral color.Checkbox
🆕 Additions
checkbox-xl
size.checkbox-neutral
color.🔧 Changes
Countdown
🆕 Additions
Diff
🆕 Additions
🔧 Changes
diff-item-1
and second image isdiff-item-2
.tabindex="0"
allows focus on the element using keyboard navigation or tap on iOS Safari where CSSresize
property is not supported.Dropdown
🆕 Additions
popover
attribute. HTML popover is the new standard for creating dropdowns in HTML. It prevents any overflow edge case issues and any z-index issues.Anchor positioning
(Currently only works on Chromium-based browsers. Other browsers will position the dropdown on the middle of the screen, like a modal).🔧 Changes
@starting-style
now.display
instead ofvisibility
to show/hide the dropdown to prevent overflow issues.Divider
🆕 Additions
FileInput
🆕 Additions
file-input-xl
size.🔧 Changes
file-input-ghost
if you want to remove the border.🗑️ Removals
file-input-bordered
. File input has a border by default now. Usefile-input-ghost
if you want to remove the border.Footer
🆕 Additions
footer-horizontal
,footer-vertical
).🔧 Changes
footer-horizontal
to make it horizontal at the screen size you want.Input
🆕 Additions
input-xl
size.🔧 Changes
w-full max-w-xs
.input-border
.Input has a border by default now. Useinput-ghost
if you want to remove the border.🗑️ Removals
input-bordered
class (not needed anymore).Join
🔧 Changes
Kbd
🆕 Additions
kbd-xl
size.Label
🔧 Changes
Loading
🔧 Changes
loading-xl
size.Mask
🗑️ Removals
mask-parallelogram
,mask-parallelogram-2
,mask-parallelogram-3
, andmask-parallelogram-4
. These mask styles are no longer included in the library. If you need them, manually use the CSSMenu
🆕 Additions
menu-xl
size.🔧 Changes
w-full
anymore. Usew-full
if you want it to be full width.disabled
class of menu item tomenu-disabled
.active
class of menu item tomenu-active
.focus
class of menu item tomenu-focus
.Mockup
🔧 Changes
camera
class in mockup-phone tomockup-phone-camera
.display
class in mockup-phone tomockup-phone-display
.mockup-phone-display